﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Text;
using Eb;

namespace Es
{
    public class DefNode : ComponentDef
    {
        //---------------------------------------------------------------------
        public override void defAllProp(Dictionary<string, string> map_param)
        {
        }
    }

    public class ServerNode<TDef> : Component<TDef> where TDef : DefNode, new()
    {
        //---------------------------------------------------------------------

        //---------------------------------------------------------------------
        public override void init()
        {
            EbLog.Note("ServerNode.init()");
        }

        //---------------------------------------------------------------------
        public override void release()
        {
            EbLog.Note("ServerNode.release()");
        }

        //---------------------------------------------------------------------
        public override void update(float elapsed_tm)
        {
        }

        //---------------------------------------------------------------------
        public override void handleEvent(object sender, EntityEvent e)
        {
        }
    }
}
